#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "include/fenshu.hpp"
using namespace std;

class base{
    public:
        int a;
        base(){a=-1;}
        base(int _a){this->a=_a;}
};
class deprive:public base{
    public:
        base b;
        deprive():b(-2){}
        deprive(base c){
            b=c;
            printf("the input c address is %p\n", &c);
            printf("the output b address is %p\n", &b);

        }
};
int main(){

    // base d(5);
    // deprive e(d);
    // cout<<e.b.a<<endl;

    // fenshu f("12345");
    // cout<<f.to_string()<<endl;
    string a = "abcdefg";
    cout<<a<<endl;
    printf("%d\n",a[0]=='a');
    a.pop_back();
    cout<<a;
    return 0;
}